<?php

ini_set('display_errors', 1);
error_reporting(-1);
require_once '/data/wwwroot/g_vendor/autoload.php';


$uids = $argv[1] ?? '';
$uids = empty($uids) ? [] : explode(',', $uids);

$add = [];
$now = date("y-m-d H:i:s");
foreach ($uids as $uid) {
    $uid = trim($uid);
    if ($uid) $add[] = ['uid' => $uid, 'create_time' => $now];
}

if ($add) \Biz\model\springHomeDecActivity\MSpringHomeDecBlackList::dataInsert($add);





